function startTime(){
	var today=new Date();
	var h=today.getHours();
	var m=today.getMinutes();
	var s=today.getSeconds();// 在小于10的数字前加一个‘0’
	m=checkTime(m);
	s=checkTime(s);
	document.getElementById('time').innerHTML="time:"+h+":"+m+":"+s;
	t=setTimeout(function(){startTime()},500);

    var year = today.getFullYear();

	var month=new Array();
	month[0]="Jan.";
	month[1]="Feb.";
	month[2]="Mar.";
	month[3]="Apr.";
	month[4]="May";
	month[5]="Jun.";
	month[6]="Jul.";
	month[7]="Aug.";
	month[8]="Sept.";
	month[9]="Oct.";
	month[10]="Nov.";
	month[11]="Dec.";
	var n = month[today.getMonth()];

	var day = today.getDate()
	var StrDay = day.toString()
	if (StrDay == "1" || StrDay == "21" || StrDay == "31"){
    StrDay = StrDay.concat("st")
	}
	else if (StrDay == "2" || StrDay == "22"){
	StrDay = StrDay.concat("nd")
	}
	else if (StrDay ==  "3" || StrDay == "23"){
	StrDay = StrDay.concat("rd")
	}
	else{
	StrDay = StrDay.concat("th")
	}


	document.getElementById('date').innerHTML=n+StrDay+" "+ year
}
function checkTime(i){
	if (i<10){
		i="0" + i;
	}
	return i;
}